// JavaScript Document
function themhm()
{
	alert("them hm");
	var hm = new modelHangMuc({
		HMid: 1,
		TenHM: "Them",
		MaCT: 3,
		Khac: "Khac",	
		
	});	
	dataHangMuc.add(hm);
}

function xemchitiet(e) {
						//e.preventDefault();
						alert("e");
	
						//var dataItem = this.dataItem($(e.currentTarget).closest("tr"));
						//wnd.content(detailsTemplate(dataItem));
						//wnd.center().open();
					}
					
					
					
					
					
					
					
					
					
/*/
					var bangcongviec = $("#bangcongviec"),
                        control = $("#control")
                                .bind("click", function() {
                                    bangcongviec.data("kendoWindow").open();
                                    //undo.hide();
									$("#bangcongviec").append("<div id='1'></div");
									$("#controlbar").append('<span id="undo" style="display" class="k-button">Choose</span>');
                                });
            
                    var onClose = function() {
                        control.show();
                    }
            
                    if (!bangcongviec.data("kendoWindow")) {
                        bangcongviec.kendoWindow({
                            width: "600px",
                            title: "Chọn công việc",
                            close: onClose
                        });
                    }
					bangcongviec.data("kendoWindow").close();
					/*/